import 'package:get/get_navigation/src/routes/get_route.dart';
import 'package:ty_smart_watch/page/device/connected_device_list_page.dart';
import 'package:ty_smart_watch/page/health/health_chart_page.dart';
import 'package:ty_smart_watch/page/health/sleep_chart_page.dart';
import 'package:ty_smart_watch/page/login/forgot_password_page.dart';
import 'package:ty_smart_watch/page/login/login_page.dart';
import 'package:ty_smart_watch/page/login/password_login_page.dart';
import 'package:ty_smart_watch/page/me/me_page.dart';
import 'package:ty_smart_watch/page/me/user_detail/user_detail_page.dart';
import 'package:ty_smart_watch/page/obd/obd_page.dart';
import 'package:ty_smart_watch/page/scandevices/scan_device_page.dart';
import 'package:ty_smart_watch/page/smartlife/smart_life_page.dart';
import 'package:ty_smart_watch/page/sport/sport_detail_first/sport_detail_first_page.dart';
import 'package:ty_smart_watch/page/sport/sport_detail_second/sport_detail_second_page.dart';
import 'package:ty_smart_watch/page/sport/sport_health_page.dart';
import 'package:ty_smart_watch/page/watch_setting_page/child_setting_page/watch_alarm_setting_page.dart';
import 'package:ty_smart_watch/page/watch_setting_page/child_setting_page/watch_do_not_disturb_setting_page.dart';
import 'package:ty_smart_watch/page/watch_setting_page/child_setting_page/watch_medicine_setting_page.dart';
import 'package:ty_smart_watch/page/watch_setting_page/child_setting_page/watch_period_setting_page.dart';
import 'package:ty_smart_watch/page/watch_setting_page/child_setting_page/watch_radio_group_setting_page.dart';
import 'package:ty_smart_watch/page/watch_setting_page/child_setting_page/watch_sos_setting_page.dart';
import 'package:ty_smart_watch/page/watch_setting_page/child_setting_page/watch_time_range_setting_page.dart';
import 'package:ty_smart_watch/page/watch_setting_page/watch_setting_page.dart';
import 'package:ty_smart_watch/page/watchdetail/watch_detail_page.dart';

import '../page/my_home_page.dart';
import '../page/watch_setting_page/child_setting_page/watch_step_target_setting_page.dart';

abstract class Routes {
  static const initial = '/initial';
  static const homePage = '/HomePage';
  static const sportPage = '/SportPage';
  static const mePage = '/MePage';
  static const scanDevicePage = '/ScanDevicePage';
  static const connectedDeviceListPage = '/ConnectedDeviceList';
  static const watchDetailPage = '/WatchDetailPage';
  static const watchSettingPage = '/WatchSettingPage';
  static const loginPage = '/LoginPage';
  static const pwdLoginPage = '/PwdLoginPage';
  static const forgotPasswordPage = '/ForgotPasswordPage';
  static const watchRadioGroupSettingPage = '/WatchRadioGroupSettingPage';
  static const watchTimeRangeSettingPage = '/WatchTimeRangeSettingPage';
  static const watchMedicineSettingPage = '/WatchMedicineSettingPage';
  static const watchPeriodSettingPage = '/WatchPeriodSettingPage';
  static const watchStepTargetPage = '/WatchStepTargetPage';
  static const watchDoNotDisturbPage = '/WatchDoNotDisturbPage';
  static const watchSosSettingPage = '/WatchSosSettingPage';
  static const watchAlarmSettingPage = '/WatchAlarmSettingPage';
  static const userDetailPage = '/UserDetailPage';
  static const obdPage = '/ObdPage';
  static const heartChartPage = '/HeartChartPage';
  static const sportDetailFirstPage = '/SportDetailFirstPage';
  static const sportDetailSecondPage = '/SportDetailSecondPage';
  static const sleepChartPage = '/SleepChartPage';
// static const  = '/';
// static const  = '/';
}

abstract class AppPages {
  static final pages = [
    GetPage(
      name: Routes.initial,
      page: () => const MyHomePage(),
    ),
    GetPage(
      name: Routes.homePage,
      page: () => const SmartLifePage(),
    ),
    GetPage(
      name: Routes.sportPage,
      page: () => const SportHealthPage(),
    ),
    GetPage(
      name: Routes.mePage,
      page: () => const MePage(),
    ),
    GetPage(
      name: Routes.scanDevicePage,
      page: () => const ScanDevicePage(),
    ),
    GetPage(
      name: Routes.connectedDeviceListPage,
      page: () => const ConnectedDeviceListPage(),
    ),
    GetPage(
      name: Routes.watchDetailPage,
      page: () => const WatchDetailPage(),
    ),
    GetPage(
      name: Routes.watchSettingPage,
      page: () => const WatchSettingPage(),
    ),
    GetPage(
      name: Routes.loginPage,
      page: () => const LoginPage(),
    ),
    GetPage(
      name: Routes.pwdLoginPage,
      page: () => const PasswordLoginPage(),
    ),
    GetPage(
      name: Routes.forgotPasswordPage,
      page: () => const ForgotPasswordPage(),
    ),
    GetPage(
      name: Routes.watchRadioGroupSettingPage,
      page: () => const WatchRadioGroupSettingPage(),
    ),
    GetPage(
      name: Routes.watchTimeRangeSettingPage,
      page: () => const WatchTimeRangeSettingPage(),
    ),
    GetPage(
      name: Routes.watchMedicineSettingPage,
      page: () => const WatchMedicineSettingPage(),
    ),
    GetPage(
      name: Routes.watchPeriodSettingPage,
      page: () => const WatchPeriodPage(),
    ),
    GetPage(
      name: Routes.watchStepTargetPage,
      page: () => const WatchStepTargetPage(),
    ),
    GetPage(
      name: Routes.watchDoNotDisturbPage,
      page: () => const WatchDoNotDisturbPage(),
    ),
    GetPage(
      name: Routes.watchSosSettingPage,
      page: () => const WatchSosSettingPage(),
    ),
    GetPage(
      name: Routes.watchAlarmSettingPage,
      page: () => const WatchAlarmSettingPage(),
    ),
    GetPage(
      name: Routes.userDetailPage,
      page: () => const UserDetailPage(),
    ),
    GetPage(
      name: Routes.obdPage,
      page: () => const ObdPage(),
    ),
    GetPage(
      name: Routes.heartChartPage,
      page: () => const HealthChartPage(),
    ),
    GetPage(
      name: Routes.sportDetailFirstPage,
      page: () => const SportDetailFirstPage(),
    ),
    GetPage(
      name: Routes.sportDetailSecondPage,
      page: () => const SportDetailSecondPage(),
    ),
    GetPage(
      name: Routes.sleepChartPage,
      page: () => const SleepChartPage(),
    ),
    // GetPage(
    //   name: Routes.,
    //   page: () => const (),
    // ),
    // GetPage(
    //   name: Routes.,
    //   page: () => const (),
    // ),
    // GetPage(
    //   name: Routes.,
    //   page: () => const (),
    // ),
    // GetPage(
    //   name: Routes.,
    //   page: () => const (),
    // ),
  ];
}
